package com.qianfeng.biquge.utils;

import com.qianfeng.biquge.pojo.Users;

import java.util.List;
import java.util.Map;

public class CheckSaltAndMD5Util {

    public static boolean checkSaltAndMD5(List<Users> allUser,String passWordSalt,String md5){

        for (Users users : allUser) {

            if (passWordSalt.equals(users.getPasswordsalt()) || md5.equals(users.getPassword())){

               return false;

            }

        }

        return true;

    }

}
